package com.shell.arouter.demo.arouter;


import com.durian.base.frame.easyrouter.EasyRouter;
import com.shell.arouter.demo.IHomeAction;

import static com.shell.arouter.extend.ARouterPathKt.PAHT_FRAGMENT_AROUTER;
import static com.shell.arouter.extend.ARouterPathKt.PATH_ACTIVITY_COMMON_BIND_FRAGMENT;


/**
 * 说明：ActionARouter
 * <p/>
 * 作者：fanly
 * <p/>
 * 类型：Class
 * <p/>
 * 时间：2019-11-12 16:12
 * <p/>
 * 版本：version 1.0
 */
public class ActionARouter implements IHomeAction {

    @Override
    public String name() {
        return "ARouter使用示例";
    }

    @Override
    public void todo() {
        EasyRouter.buildByFragment(PAHT_FRAGMENT_AROUTER,PATH_ACTIVITY_COMMON_BIND_FRAGMENT).navigation();
    }
}
